package com.ht.temp.mapper;

import com.ht.temp.entity.OffLineTemperature;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ht.temp.entity.OnLineTemperature;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mayke_zhou
 * @since 2018-12-19
 */
@Repository
public interface OffLineTemperatureMapper extends BaseMapper<OffLineTemperature> {
    List<OffLineTemperature> selectByOffLineTemperature(OffLineTemperature offLineTemperature);


    //删除
    int deleteByPrimaryKey(Integer temId);

    //插入
    int insertSelectiveOffLineTemperature(OffLineTemperature record);

    //单独插入
    OffLineTemperature selectByPrimaryKey(Integer temId);


}
